USER_AGENT
am 11.05.2009 13:15:14 von Idel Fuschini--0015174c43c2a992700469a1174e
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hi,
I want to read the user_agent i'm using this code:
my $f = shift;
my $user_agent=$f->headers_in->{'User-Agent'};
but apache logs this error:
Can't locate object method "headers_in" via package "Apache2::Filter"
why ?
--
Idel
=====================
E-Mail: idel.fuschini@gmail.com
Web Site: http://www.idelfuschini.it
OpenSource Project: http://www.idelfuschini.it/apache-mobile-filter.html
--0015174c43c2a992700469a1174e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,
I want to read the user_agent i'm using this code:
=
=A0 my $f =3D shift;
=A0 my=A0 $user_agent=3D$f->he=
aders_in->{'User-Agent'};
but apache logs t=
his error:
Can't locate object method "headers_in" via=
package "Apache2::Filter"
why ?
--
Idel
=============3D=
========
E-Mail:
om">idel.fuschini@gmail.com
Web Site:
hini.it">http://www.idelfuschini.it
OpenSource Project:
ter.html">http://www.idelfuschini.it/apache-mobile-filter.ht ml
--0015174c43c2a992700469a1174e--